﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Good_Edit.aspx.cs" Inherits="Page_Good_Edit"
    ValidateRequest="false" %>

<%@ Register Assembly="Infragistics2.WebUI.UltraWebGrid.v7.1, Version=7.1.20071.40, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.UltraWebGrid" TagPrefix="igtbl" %>
<%@ Register Assembly="Infragistics2.WebUI.WebCombo.v7.1, Version=7.1.20071.40, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.WebCombo" TagPrefix="igcmbo" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>商品的添加与修改！</title>
    <link href="../Style/main.css" rel="stylesheet" type="text/css" />

    <script src="../js/Goods.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align: center;">
        <table style="width: 98%; background-color: #85BDE2; vertical-align: middle;" border="0px"
            cellpadding="0px" cellspacing="1px">
            <tr>
                <td colspan="4" style="background-color: #DAE7F8; height: 30px;">
                    <strong>商品信息</strong>
                </td>
            </tr>
            <tr style="background-color: #DAE7F8;">
                <td align="right" style="width: 30%;">
                    商品编号：
                </td>
                <td align="left" style="width: 20%;">
                    <asp:TextBox ID="tbGoodNO" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td align="right" style="width: 20%;">
                    商品名称：
                </td>
                <td align="left" style="width: 30%">
                    <asp:TextBox ID="tbGoodName_CN" runat="server" Width="150px"></asp:TextBox>
                </td>
            </tr>
            <tr style="background-color: #DAE7F8;">
                <td align="right">
                    商品品牌：
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlGoodBrand" runat="server" Width="154px">
                    </asp:DropDownList>
                </td>
                <td align="right">
                    商品类别：
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlGoodType" runat="server" Width="154px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr style="background-color: #DAE7F8;">
                <td align="right">
                    英文名称：
                </td>
                <td align="left">
                    <asp:TextBox ID="tbGoodName_EN" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td align="right">
                    市场价格：
                </td>
                <td align="left">
                    <input id="tbPrice_Orig" name="tbPrice_Orig" runat="server" type="text" width="150px"
                        onblur="if(!/^(0?|[1-9]\d*)(\.\d{0,4})?$/.test(this.value)){this.value='';}" />
                </td>
            </tr>
            <tr style="background-color: #DAE7F8;">
                <td align="right">
                    百企价格：
                </td>
                <td align="left">
                    <input id="tbPrice_Vip" name="tbPrice_Vip" runat="server" type="text" onblur="if(!/^(0?|[1-9]\d*)(\.\d{0,4})?$/.test(this.value)){this.value='';}" />
                </td>
                <td align="right">
                    进货价格：
                </td>
                <td align="left">
                    <input id="tbPrice_Lastin" name="tbPrice_Lastin" runat="server" type="text" width="150px"
                        onblur="if(!/^(0?|[1-9]\d*)(\.\d{0,4})?$/.test(this.value)){this.value='';}" />
                </td>
            </tr>
            <tr style="background-color: #DAE7F8;">
                <td align="right">
                    计量单位：
                </td>
                <td align="left">
                    <asp:TextBox ID="tbGood_Unit" runat="server" Width="128px"></asp:TextBox>
                </td>
                <td runat="server" align="right">
                    产品PV值：
                </td>
                <td runat="server" align="left">
                    <input id="tbPrice_BV" name="tbPrice_BV" runat="server" type="text" width="150px"
                        onblur="if(!/^(0?|[1-9]\d*)(\.\d{0,4})?$/.test(this.value)){this.value='';}" />
                </td>
            </tr>
            <tr style="background-color: #DAE7F8;">
                <td style="width: 350px; height: 30px;" align="right">
                    产品规格：
                </td>
                <td align="left" class="style2">
                    <asp:TextBox ID="tbGoodNorm" runat="server" Height="15px" Width="150px"></asp:TextBox>
                    例:170&172&175
                </td>
                <td align="right" class="style1">
                    产品颜色：
                </td>
                <td style="width: 350px; height: 30px;" align="left">
                    <asp:TextBox ID="tbGoodColor" runat="server" Height="15px" Width="150px"></asp:TextBox>
                    例:黑&红&白
                </td>
            </tr>
            <tr style="background-color: #DAE7F8;">
                <td style="width: 350px;" align="right">
                    产品重量：
                </td>
                <td align="left">
                    <input id="tbWeight" name="tbWeight" runat="server" type="text" width="150px" onblur="if(!/^(0?|[1-9]\d*)(\.\d{0,4})?$/.test(this.value)){this.value='';}" />
                    kg
                </td>
                <td>
                    <asp:Image ID="ImageBig" runat="server" Height="100px" Width="100px" />
                </td>
                <td align="left">
                    商品图片:
                    <input id="FilePic_Small" runat="server" style="width: 215px" type="file" />
                </td>
            </tr>
            <tr>
                <td colspan="4" style="background-color: #DAE7F8; height: 30px;">
                    商品介绍
                </td>
            </tr>
            
             <tr style="background-color: #DAE7F8;">
                <td colspan="4" style="text-align: center">
                    <FCKeditorV2:FCKeditor ID="fckContent" runat="server" BasePath="~/Components/fckeditor/"
                        Height="350px">
                    </FCKeditorV2:FCKeditor>
                </td>
            </tr>
            <tr>
                <td colspan="4" style="background-color: #DAE7F8; height: 30px;">
                    规格参数
                </td>
            </tr>
            <tr style="background-color: #DAE7F8;">
                <td colspan="4" style="text-align: center">
                    <FCKeditorV2:FCKeditor ID="tbContent" runat="server" BasePath="~/Components/fckeditor/"
                        Height="350px">
                    </FCKeditorV2:FCKeditor>
                </td>
            </tr>
            <tr style="background-color: #DAE7F8;">
                <td colspan="4" style="text-align: center">
                    <asp:Button ID="btnSave" Height="22px" Width="90px" runat="server" Text="保存" OnClick="btnSave_Click" />
                    &nbsp;&nbsp;
                    <asp:Button ID="btnCancel" Height="22px" Width="90px" runat="server" Text="取消" OnClick="btnCancel_Click" />
                </td>
            </tr>
        </table>
    </div>
    <input id="hAction" runat="server" type="hidden" />
    <input id="hID" runat="server" type="hidden" />
    </form>
</body>
</html>
